package com.showgood.vo {
import flash.utils.ByteArray;
public class CityVO extends BaseVO {
public var id: int;
public var name: String;
public var x: int;
public var y: int;
public var mayor: int;
override public function get vid():int { return 10; }
override public function pack(b:ByteArray):void {
super.pack(b);
b.writeInt(this.id);
b.writeUTF(this.name);
b.writeInt(this.x);
b.writeInt(this.y);
b.writeInt(this.mayor);
}
override public function unpack(b:ByteArray):void {
super.unpack(b);
this.id = b.readInt();
this.name = b.readUTF();
this.x = b.readInt();
this.y = b.readInt();
this.mayor = b.readInt();
}
}
}
